package com.ay.smartpark.sdk.common.base;


import com.ay.smartpark.sdk.common.utils.StringUtilsSafetyBase;
import com.fasterxml.jackson.annotation.JsonIgnore;

import java.io.Serializable;
import java.util.List;

/**
 * 在线用户信息
 */
public class OnlineUserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String userId;
    @JsonIgnore
    private String password;
    private String realName;
    private String pinyin;
    private String avatar;
    private int sex;
    private String email;
    private String phone;
    private String createTime;
    private String lastLoginTime;
    private String lastLoginEnterprise;
    private String lastLoginEnterpriseMobile;
    private int isAdWelcome;
    private String birthday;
    private String loginUserId;
    private String lastModified;
    private int verifyTwo;
    private int resetPwd = 1;
    private String theme;
    private int regType = 1;
    private int birthType;
    private int pwGrade = 1;
    private String leadNewUser = "done";
    private String leadHeader = "done";
    private String entryTime;
    private String qq;
    private String idNumber;
    private String extNumber;
    private String mainJob;
    private String duty;
    private String address;
    private String sign;
    private String isSecurity = "false";
    private String ly;
    private String entId;
    private String enterpriseName;
    @JsonIgnore
    private String sessionId;
    //监管地区
    private String superviseArea;

    private String superviseStreet;

    private List<String> superviseAreas;
    //监管行业
    private String superviseType;

    private List<String> superviseTypes;

    //用户等级
    private String userLevel;

    //用户的部门名称
    private String deptName;


    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(String userLevel) {
        this.userLevel = userLevel;
    }

    public String getSuperviseArea() {
        return superviseArea;
    }

    public void setSuperviseArea(String superviseArea) {
        this.superviseArea = superviseArea;
        setSuperviseAreas(StringUtilsSafetyBase.jsonArray2StringList(superviseArea));
    }

    public String getSuperviseType() {
        return superviseType;
    }

    public void setSuperviseType(String superviseType) {
        this.superviseType = superviseType;
        setSuperviseTypes(StringUtilsSafetyBase.jsonArray2StringList(superviseType));
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(String lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getLastLoginEnterprise() {
        return lastLoginEnterprise;
    }

    public void setLastLoginEnterprise(String lastLoginEnterprise) {
        this.lastLoginEnterprise = lastLoginEnterprise;
    }

    public String getLastLoginEnterpriseMobile() {
        return lastLoginEnterpriseMobile;
    }

    public void setLastLoginEnterpriseMobile(String lastLoginEnterpriseMobile) {
        this.lastLoginEnterpriseMobile = lastLoginEnterpriseMobile;
    }

    public int getIsAdWelcome() {
        return isAdWelcome;
    }

    public void setIsAdWelcome(int isAdWelcome) {
        this.isAdWelcome = isAdWelcome;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getLoginUserId() {
        return loginUserId;
    }

    public void setLoginUserId(String loginUserId) {
        this.loginUserId = loginUserId;
    }

    public String getLastModified() {
        return lastModified;
    }

    public void setLastModified(String lastModified) {
        this.lastModified = lastModified;
    }

    public int getVerifyTwo() {
        return verifyTwo;
    }

    public void setVerifyTwo(int verifyTwo) {
        this.verifyTwo = verifyTwo;
    }

    public int getResetPwd() {
        return resetPwd;
    }

    public void setResetPwd(int resetPwd) {
        this.resetPwd = resetPwd;
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
        this.theme = theme;
    }

    public int getRegType() {
        return regType;
    }

    public void setRegType(int regType) {
        this.regType = regType;
    }

    public int getBirthType() {
        return birthType;
    }

    public void setBirthType(int birthType) {
        this.birthType = birthType;
    }

    public int getPwGrade() {
        return pwGrade;
    }

    public void setPwGrade(int pwGrade) {
        this.pwGrade = pwGrade;
    }

    public String getLeadNewUser() {
        return leadNewUser;
    }

    public void setLeadNewUser(String leadNewUser) {
        this.leadNewUser = leadNewUser;
    }

    public String getLeadHeader() {
        return leadHeader;
    }

    public void setLeadHeader(String leadHeader) {
        this.leadHeader = leadHeader;
    }

    public String getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(String entryTime) {
        this.entryTime = entryTime;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getExtNumber() {
        return extNumber;
    }

    public void setExtNumber(String extNumber) {
        this.extNumber = extNumber;
    }

    public String getMainJob() {
        return mainJob;
    }

    public void setMainJob(String mainJob) {
        this.mainJob = mainJob;
    }

    public String getDuty() {
        return duty;
    }

    public void setDuty(String duty) {
        this.duty = duty;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getIsSecurity() {
        return isSecurity;
    }

    public void setIsSecurity(String isSecurity) {
        this.isSecurity = isSecurity;
    }

    public String getLy() {
        return ly;
    }

    public void setLy(String ly) {
        this.ly = ly;
    }

    public String getEntId() {
        return entId;
    }

    public void setEntId(String entId) {
        this.entId = entId;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public List<String> getSuperviseAreas() {
        return superviseAreas;
    }

    public void setSuperviseAreas(List<String> superviseAreas) {
        this.superviseAreas = superviseAreas;
    }

    public List<String> getSuperviseTypes() {
        return superviseTypes;
    }

    public void setSuperviseTypes(List<String> superviseTypes) {
        this.superviseTypes = superviseTypes;
    }

    public String getSuperviseStreet() {
        return superviseStreet;
    }

    public void setSuperviseStreet(String superviseStreet) {
        this.superviseStreet = superviseStreet;
    }
}
